package com.cloud.diffdemo.model;

/**
 * @auth: njb
 * @date: 2024/11/20 23:27
 * @desc: 描述
 */
public class TestBean implements Cloneable {
    private String name;
    private String content;
    private int pic;
    private int lookNumber;
    private int commentNumber;
    private String url;

    public TestBean(String name, String content, int pic, int lookNumber, int commentNumber,String url) {
        this.name = name;
        this.content = content;
        this.pic = pic;
        this.lookNumber = lookNumber;
        this.commentNumber = commentNumber;
        this.url = url;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getPic() {
        return pic;
    }

    public void setPic(int pic) {
        this.pic = pic;
    }

    public int getLookNumber() {
        return lookNumber;
    }

    public void setLookNumber(int lookNumber) {
        this.lookNumber = lookNumber;
    }

    public int getCommentNumber() {
        return commentNumber;
    }

    public void setCommentNumber(int commentNumber) {
        this.commentNumber = commentNumber;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    @Override
    public TestBean clone() throws CloneNotSupportedException {
        TestBean bean = null;
        try {
            bean = (TestBean) super.clone();
        } catch (CloneNotSupportedException e) {
            e.printStackTrace();
        }
        return bean;
    }
}
